home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / TECHNICA / COMPUTER / H254.ZIP / IRITSM3S.ZIP / POLY3D / MAKEFILE.DJG < prev    next >
Text File  |  1992-03-01  |  944b  |  36 lines

  1. #
  2. # This is the make file for the poly3d directory using DJGCC on the IBMPC.
  3. #
  4. #                Gershon Elber, Dec 1991
  5. #
  6.  
  7. !include "..\makeflag.djg"
  8.  
  9. OBJS    = interact.o poly3d.o postscrp.o
  10.  
  11. # The {$< } is also new to TC++ 1.0 make - remove the { } pair if your make
  12. # choke on them (the { } signals batch mode that combines few operation at the
  13. # same time - very nice feature!).
  14. .c.o:
  15.     $(CC) $(CFLAGS) -I. -I$(INC_DIR) -c -DSUPPORT_GIF_SAVE $<
  16.  
  17. .cc.o:
  18.     $(CC) $(CFLAGS) -I. -I$(INC_DIR) -c -DSUPPORT_GIF_SAVE $<
  19.  
  20. poly3d.exe:    $(OBJS)
  21.     $(CC) $(CFLAGS) -o poly3d @&&!
  22. $(OBJS) $(LIBS) $(MORELIBS) -lm
  23. !
  24.     strip poly3d
  25.     aout2exe poly3d
  26.  
  27. install: poly3d.exe
  28.     copy poly3d.exe $(BIN_DIR_DOS)
  29.     del  poly3d.exe
  30.     copy poly3ddj.cfg $(BIN_DIR_DOS)\poly3d.cfg
  31.  
  32. # Dependencies starts here - do not touch, generated automatically.
  33. interact.o:    program.h interact.h
  34. poly3d.o:    program.h interact.h matherr.h
  35. postscrp.o:    program.h interact.h
  36.